package com.zhang.boot.core.vo.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@ApiModel("登录请求")
public class LoginRequest implements Serializable {

    /**
     * 用户名
     */
    @NotEmpty(message = "登录账号不能为空")
    @ApiModelProperty(value = "登录账号",required = true)
    private String username;

    /**
     * 用户密码
     */
    @NotEmpty(message = "用户密码不能为空")
    @ApiModelProperty(value = "登录密码",required = true)
    private String password;

    /**
     * 验证码
     */
    @NotEmpty(message = "验证码不能为空")
    @ApiModelProperty(value = "登录验证码",required = true)
    private String code;

    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "登录uuid",required = true)
    private String uuid = "";



}
